<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title></title>
<link rel="stylesheet" href="__CSS__/pintuer.css">
<link rel="stylesheet" href="__CSS__/admin.css">
<script src="__JS__/jquery.js"></script>
<script src="__JS__/pintuer.js"></script>
</head>
<body>
<div class="panel admin-panel">
  <div class="panel-head">
    <strong><span class="icon-pencil-square-o"></span> 用户详情</strong>
    <a onclick="javascript:history.back()" style="display: inline-block;float: right;"><span class="icon-backward"></span> 返回</a>
  </div>
  <div class="body-content">
    <form method="post" class="form-x" action="/user/update" enctype="multipart/form-data">
      <div class="form-group">
        <div class="label"><label>用户名：</label></div>
        <div class="field">
          <input type="text" class="input" name="u_nick" value="{$info.u_nick}" readonly/><div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label"><label>头像：</label></div>
        <div class="field">
          <input type="text" id="url" name="u_img" class="input tips" style="width:25%; float:left;"  value="{$info.u_img}"  data-toggle="hover" data-place="right" data-image="" />
          <input type="file" name="u_img2" class="button bg-blue margin-left" id="url1" value=""  style="display:none;float:left;">
          <input type="button" class="button bg-blue margin-left" id="url2" value="+ 浏览上传"  style="float:left;">
          <div class="tipss">图片尺寸：500*500</div>
        </div>
      </div>
      <div class="form-group">
        <div class="label"><label>密码：</label></div>
        <div class="field">
          <input type="password" class="input" name="u_pa" value=""/><div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label"><label>邮箱：</label></div>
        <div class="field">
          <input type="text" class="input" name="u_email" value="{$info.u_email}"/><div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label"><label>电话：</label></div>
        <div class="field">
          <input type="text" class="input" name="u_tel" value="{$info.u_tel}"/><div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label></label>
        </div>
        <div class="field">
          <button class="button bg-main icon-check-square-o" type="submit"> 提交</button>
        </div>
      </div>
    </form>
  </div>
</div>
<script>
$(function() {
  $('#url2').click(function() {
    $('#url1').click();
  })
})
</script>
</body></html>